package com.learning.javaweb_springboot_page_query.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.learning.javaweb_springboot_page_query.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    //定义mapper查询方法，具体实现在resources.mappers中的EmployeeMapper.xml中，注意名字相同
    List<Employee> selectPageVo(IPage<Employee> page);
}
